@import "../variables";
.content-panel {
    border: none;
    .content-panel-header {
        padding: 0;
    }
    .content-panel-body {
        min-height: 0;
    }
}

#doc-form {
    margin-top: 0;
    .content-panel-header {
        border: 0;
    }
}

.picture-container {
    width: 256px;
    height: 144px;
    float: left;
    padding: 10px;
    margin: 0 20px 20px 0;
    border: 1px solid $color-border;
    position: relative;
    .picuture-upload {
        text-align: center;
        line-height: 144px;
        background: #f7f7f7;
        color: $material-grey;
        &:hover {
            background: #ededed;
            color: $color-primary;
            cursor: pointer;
        }
    }
    .picture-re-upload {
        background: rgba(0, 153, 51, .7);
        visibility: hidden;
        line-height: 144px;
        cursor: pointer;
        .picture-remove {
            position: absolute;
            font-size: 24px;
            top: -20px;
            left: -20px;
            border-radius: 12px;
            background: #fff;
            color: $color-accent;
        }
    }
    &:hover {
        .picture-re-upload {
            visibility: visible;
        }
    }
    .picture {
        margin: 10px;
        background-size: contain;
    }
    &.picture-container-sm {
        width: 213.333px;
        height: 120px;
        .picuture-upload,
        .picture-re-upload {
            line-height: 120px;
            .picture-remove {
                font-size: 20px;
                top: -16px;
                left: -16px;
            }
        }
    }
}

.picture-with-setting {
    float: left;
    margin: 0 20px 20px 0;
    border: 1px solid $color-border;
    .picture-container {
        margin: 0px;
        float: none;
        border: 0px;
    }
    .picture-info {
        margin-bottom: 8px;
    }
    .picture-setting {
        margin: 0 10px;
        width: auto;
        border-top: 1px dashed $color-border;
    }
    .picture-info-title-container {
        .picture-info-title {
            font-size: 14px;
            line-height: 24px;
            padding: 0 10px;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }
    }
    .switch {
        width: 100px;
        float: right;
        .switch-label {
            left: 20px;
        }
    }
}

#picturePreview {
    width: 100%;
    min-width: 100%;
    height: auto;
}

#doc-center .content-panel {
    margin-top: 0px;
}

#bookRoomSwitchConatiner,#ImmediatelySwitchConatiner {
    margin-top: 12px;
}

#bookRoomSwitchHelp,#ImmediatelySwitchHelp {
    color: #ff6e40;
}

#refund-form {
    .form-group div {
        padding-left: 0;
    }
    #requestRefundDesc {
        height: 100px;
    }
}

#price_calendar .sm-width{
    width: 960px;
    top:100px;
}
#price_calendar .form-sm{
    text-align:left;
}
#price_calendar .calendar_wrap {
    padding-top:20px;
    vertical-align:top;
}
#price_calendar .err_info{
    color:red;
    font-size:14px;
    padding:0px 10px;
}
#price_calendar table{
    margin-bottom: 20px;
}

#calendar_months td{
    width:150px;
    height:60px;
    text-align:center;
    cursor:pointer;
}
#calendar_months .selected span{
    background-color: #8bc34a;
    color:#fff;
    padding:10px 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
}


.calendar_header th{
    width:100px;
    height:60px;
    text-align:center;
    border:1px solid #ccc;
}
#calendar_days{
    border-collapse:collapse; border:none;
}
#calendar_days td{
    padding-top:10px;
    width:100px;
    height:50px;
    text-align:center;
    cursor:pointer;
    border:1px solid #ccc;
    position:relative;
}
#calendar_days td .center_content{
    color: #006d54;
}
#calendar_days td .left_top{
    position:absolute;
    left:0px;
    top:0px;
    padding:3px 0px 0px 5px;
    font-size:10px;
}
#calendar_days td .right_top{
    position:absolute;
    right:0px;
    top:0px;
    padding:3px 5px 0px 0px;
    font-size:10px;
}
#calendar_days td .right_bottom{
    position:absolute;
    right:0px;
    bottom:0px;
    padding:0px 5px 3px 0px;
    font-size:10px;
}

#calendar_days td .left_bottom{
    position:absolute;
    left:0px;
    bottom:0px;
    padding:0px 0px 3px 5px;
    font-size:10px;
}

#calendar_days td.day_festival{
    background-color: #fff7cf;
    color:#df6d20;
}
#calendar_days td.day_festival .center_content{
    color:#df6d20;
}
#calendar_days td.selected{
    background-color: #8bc34a;
}
#calendar_days td.day_overdue{
    background-color: #e6e6e6;
    cursor:default;
    color: #999;
}
#calendar_days td.day_overdue .center_content{
    color: #999;
}
#calendar_days td.price_change .center_content{
    color: #0000aa;
}


#price_calendar_set .modal-sm{
    top:150px;
}
#price_calendar_set .modal-body{
    padding:30px;
}
#price_calendar_set .price_input{
    padding:3px;
}
#set_price_info {
    color:red;
    font-size:14px;
    padding:0px 10px;
}

.discount_calendar_title {
    text-align:center;
}
#discount_calendar_input {
    width:80px;
}
.discountsWayConatiner{
    font-size:14px ;
    .radioConatiner{
        overflow: hidden;
        margin-bottom: 12px;
        .control-label{
            padding: 0;
            padding-left: 36px;
            line-height: 24px;
        }
        .radio{
            .radio-label{
                font-size:14px ;
            }
        }
    }
    .form-control{
        height: 30px;
        text-align: right;
    }
}
.discountsWayAlreadyConatiner{
    font-size:14px ;
    .radioConatiner{
        overflow: hidden;
        margin-bottom: 12px;
        .control-label{
            padding: 0;
            padding-left: 36px;
            line-height: 30px;
        }
    }    
}
.discountGuidePage{
    display: none;
}
#roomContainer .picture-with-setting:first-child{
    .discountGuidePage{
        display: block;
        position: absolute;
        left: -6px;
        top: 26px;
        z-index: 1000;
        .roger{
            position: absolute;
            left: 97px;
            top: 96px;
            width: 106px;
            height: 50px;
            cursor: pointer;
        }
    }    
}
.addMultiCurrency{
    position: absolute;
    right: 0;
    top: 20px;
}
#multiCurrencyModal{
    z-index: 10000;
    position: absolute;
    top: 20px;
    left: 50%;
    margin-left: -160px;
    .modal-dialog{   
        width: 320px;
    }
    .modal-header-member{
        padding: 4px 16px;
        border-bottom: 1px solid #e5e5e5;    
        .close {    
            font-size: 20px;
            text-shadow: none;
            color: #505050;
            opacity: 1;
            min-width: 0;
            padding: 0;
            width: 32px;
            height: 32px;
            line-height: 32px;
            -webkit-border-radius: 50%;
            border-radius: 50%;
        }
    }
    .modal-title{
        font-size: 14px;
        line-height: 30px;
    }
    .modal-body{
        min-height: 144px; 
        font-size:12px;
        padding: 0;
        .multi-currency{
            height: 32px;
            line-height: 32px;
            padding: 0 24px;
            margin-top: 24px;
        }
        .dropdown{
            a[data-toggle=dropdown]{
                height: 30px;
                line-height: 30px;
                width: 252px;
                border: 1px solid #dedede;
                position: relative;
                text-align: left;
                .icon-dropdown{
                    position: absolute;
                    width: 16px;
                    height: 16px;
                    right: 8px;
                    top: 50%;
                    margin-top: -8px;
                    background: url(/Public/dist/Home/BookPage/image/dropdown.png) center no-repeat;
                    will-change: transform;
                    -webkit-transition-duration: .3s;
                    -moz-transition-duration: .3s;
                    transition-duration: .3s;
                    -webkit-transition-timing-function: ease-in;
                    -moz-transition-timing-function: ease-in;
                    transition-timing-function: ease-in;
                }   
                &:hover{
                    background: #fff;
                }  
                &:focus{
                    background: #fff;
                }
            }    
            &.open{
                .icon-dropdown{
                    -webkit-transform: rotate(180deg);
                    -moz-transform: rotate(180deg);
                    -ms-transform: rotate(180deg);
                    transform: rotate(180deg);
                }                
            }     
        }

        .dropdown-menu{
            width: 268px;
            top: 30px;
            border: 1px solid #dedede;
            box-shadow:inherit;
            overflow-y: auto;
            max-height: 208px;
        }
    } 
    .help-block{
        height: 28px;
        line-height: 28px;
        text-align: center;
        margin-top: 16px;
    }      
    #confirmCurrencyInfo{    
        width: 68px;
        height: 32px;
        line-height: 32px;
        background: #8bc34A;
        color: #fff;
        text-align: center;
        border-radius: 2px;
        cursor: pointer;
        font-size:14px ;
        position: absolute;
        left: 50%;
        margin-left: -36px;
        bottom: 24px;
    }
}